using System;
using System.Collections.Generic;
using IBS.Model;
using IBS.Model.Base;

namespace IBS.ServiceContracts
{
    public interface IAddressService
    {
        Address CreateAddress(string operatorLogin, int streetId, int house, int? housing = null, int? apartment = null);
        IList<Address> GetAddresses(Func<Address, bool> criteria = null, int? page = null);
        Address GetAddressById(int addressId);
    }
}